import {applyMiddleware, combineReducers, compose, legacy_createStore} from "redux";
import reduxThunk from 'redux-thunk'
import userInfoReducer from './userState/reducer.ts'

const reducers = combineReducers({
    userInfoReducer
})

const store = legacy_createStore(reducers, compose(applyMiddleware(reduxThunk)))

export default store